#pragma once

#include "ZNetworkCommon.h"

namespace	Z	{

//------------------------------------------------------------------------------------------------------------------------
class	NetworkReceiveBuffer;
struct	NetworkReceiver;

struct	MessageReceiver
{
	virtual	void	onConnect(NetworkId kNetworkId)	= 0;
	virtual	void	onDisconnect(NetworkId kNetworkId)	= 0;
	virtual	void	onReceive(NetworkReceiveBuffer& kBuffers, NetworkReceiver& kNetworkReceiver)	= 0;
};

}